﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006C5 RID: 1733
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFarmStageGachaInfoCsReq : IMessage<GetFarmStageGachaInfoCsReq>, IMessage, IEquatable<GetFarmStageGachaInfoCsReq>, IDeepCloneable<GetFarmStageGachaInfoCsReq>, IBufferMessage
	{
		// Token: 0x1700164C RID: 5708
		// (get) Token: 0x06004E1C RID: 19996 RVA: 0x000D54E9 File Offset: 0x000D36E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFarmStageGachaInfoCsReq> Parser
		{
			get
			{
				return GetFarmStageGachaInfoCsReq._parser;
			}
		}

		// Token: 0x1700164D RID: 5709
		// (get) Token: 0x06004E1D RID: 19997 RVA: 0x000D54F0 File Offset: 0x000D36F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFarmStageGachaInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700164E RID: 5710
		// (get) Token: 0x06004E1E RID: 19998 RVA: 0x000D5502 File Offset: 0x000D3702
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFarmStageGachaInfoCsReq.Descriptor;
			}
		}

		// Token: 0x06004E1F RID: 19999 RVA: 0x000D5509 File Offset: 0x000D3709
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFarmStageGachaInfoCsReq()
		{
		}

		// Token: 0x06004E20 RID: 20000 RVA: 0x000D551C File Offset: 0x000D371C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFarmStageGachaInfoCsReq(GetFarmStageGachaInfoCsReq other) : this()
		{
			this.farmStageGachaIdList_ = other.farmStageGachaIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004E21 RID: 20001 RVA: 0x000D5546 File Offset: 0x000D3746
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFarmStageGachaInfoCsReq Clone()
		{
			return new GetFarmStageGachaInfoCsReq(this);
		}

		// Token: 0x1700164F RID: 5711
		// (get) Token: 0x06004E22 RID: 20002 RVA: 0x000D554E File Offset: 0x000D374E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FarmStageGachaIdList
		{
			get
			{
				return this.farmStageGachaIdList_;
			}
		}

		// Token: 0x06004E23 RID: 20003 RVA: 0x000D5556 File Offset: 0x000D3756
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFarmStageGachaInfoCsReq);
		}

		// Token: 0x06004E24 RID: 20004 RVA: 0x000D5564 File Offset: 0x000D3764
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFarmStageGachaInfoCsReq other)
		{
			return other != null && (other == this || (this.farmStageGachaIdList_.Equals(other.farmStageGachaIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004E25 RID: 20005 RVA: 0x000D5598 File Offset: 0x000D3798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.farmStageGachaIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004E26 RID: 20006 RVA: 0x000D55CC File Offset: 0x000D37CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004E27 RID: 20007 RVA: 0x000D55D4 File Offset: 0x000D37D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004E28 RID: 20008 RVA: 0x000D55DD File Offset: 0x000D37DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.farmStageGachaIdList_.WriteTo(ref output, GetFarmStageGachaInfoCsReq._repeated_farmStageGachaIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004E29 RID: 20009 RVA: 0x000D5604 File Offset: 0x000D3804
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.farmStageGachaIdList_.CalculateSize(GetFarmStageGachaInfoCsReq._repeated_farmStageGachaIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004E2A RID: 20010 RVA: 0x000D563D File Offset: 0x000D383D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFarmStageGachaInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.farmStageGachaIdList_.Add(other.farmStageGachaIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004E2B RID: 20011 RVA: 0x000D566B File Offset: 0x000D386B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004E2C RID: 20012 RVA: 0x000D5674 File Offset: 0x000D3874
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U && num != 50U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.farmStageGachaIdList_.AddEntriesFrom(ref input, GetFarmStageGachaInfoCsReq._repeated_farmStageGachaIdList_codec);
				}
			}
		}

		// Token: 0x04001EC8 RID: 7880
		private static readonly MessageParser<GetFarmStageGachaInfoCsReq> _parser = new MessageParser<GetFarmStageGachaInfoCsReq>(() => new GetFarmStageGachaInfoCsReq());

		// Token: 0x04001EC9 RID: 7881
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001ECA RID: 7882
		public const int FarmStageGachaIdListFieldNumber = 6;

		// Token: 0x04001ECB RID: 7883
		private static readonly FieldCodec<uint> _repeated_farmStageGachaIdList_codec = FieldCodec.ForUInt32(50U);

		// Token: 0x04001ECC RID: 7884
		private readonly RepeatedField<uint> farmStageGachaIdList_ = new RepeatedField<uint>();
	}
}
